from flask import Blueprint,Flask

#url会自动加上url_prefix的值
bp = Blueprint('blog',__name__,url_prefix='/blog')


@bp.route("/hello")
def hello_world():
    return "<p>hello</p>"